package com.infore.exchange.main.dao;

import com.infore.common.model.entity.exchange.TSourceDataInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;
/**
 * <p>
 * 数据同步-数据来源 Mapper 接口
 * </p>
 *
 * @author lijh
 * @since 2023-02-10
 */
@Mapper
@Component
public interface TSourceDataInfoMapper extends BaseMapper<TSourceDataInfo> {

    @Update(" update t_ex_source_data_info set increment_start_value = #{startValue} where source_id=#{id}")
    int updateStartValueById(@Param("id")  String id, @Param("startValue")  String startValue);

}
